<?php

/**
 * 布局管理
 */
Route::get('application/layouts', ['as'=> 'application.layouts.index', 'uses' => 'Application\LayoutController@index']);
Route::post('application/layouts', ['as'=> 'application.layouts.store', 'uses' => 'Application\LayoutController@store']);
Route::get('application/layouts/create', ['as'=> 'application.layouts.create', 'uses' => 'Application\LayoutController@create']);
Route::put('application/layouts/{layouts}', ['as'=> 'application.layouts.update', 'uses' => 'Application\LayoutController@update']);
Route::patch('application/layouts/{layouts}', ['as'=> 'application.layouts.update', 'uses' => 'Application\LayoutController@update']);
Route::delete('application/layouts/{layouts}', ['as'=> 'application.layouts.destroy', 'uses' => 'Application\LayoutController@destroy']);
Route::get('application/layouts/{layouts}', ['as'=> 'application.layouts.show', 'uses' => 'Application\LayoutController@show']);
Route::get('application/layouts/{layouts}/edit', ['as'=> 'application.layouts.edit', 'uses' => 'Application\LayoutController@edit']);



// 根据数据类型 , 获取不同状态下的数据
Route::get('application/layouts/data_types/datas', ['as'=> 'application.layouts.data_types.datas', 'uses' => 'Application\LayoutController@getDataByDataType']);
